package com.yl.zqy.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 角色菜单关系
 * </p>
 *
 * @author liang.yu
 * @since 2024-03-28
 */
@Getter
@Setter
@TableName("sys_role_menu")
@Schema(name = "SysRoleMenu对象", description = "角色菜单关系")
public class SysRoleMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId("id")
    private String id;

    @Schema(description = "角色ID")
    @TableField("role_id")
    private String roleId;

    @Schema(description = "菜单ID")
    @TableField("menu_id")
    private String menuId;

    @Schema(description = "创建者")
    @TableField("creator")
    private String creator;

    @Schema(description = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;


}
